package com.un.ebs.sale.domain;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (SaleReportByWeekExt)表实体类
 *
 * @author liubo
 * @since 2020-10-23 14:13:29
 */
@Data
@Component
@TableName("v_sale_report_by_week_ext")
@SuppressWarnings("serial")
public class SaleReportByWeekExt extends Model<SaleReportByWeekExt> {


    @DbField(name = "ent_id", length = 40, precision = 0)
    private String entId;

    @DbField(name = "ent_name", length = 255, precision = 0)
    private String entName;

    @DbField(name = "business_year", length = -1, precision = 0)
    private Integer businessYear;

    @DbField(name = "business_month", length = -1, precision = 0)
    private Integer businessMonth;

    @DbField(name = "business_week", length = -1, precision = 0)
    private Integer businessWeek;

    @DbField(name = "business_week_desc", length = 13, precision = 0)
    private String businessWeekDesc;

    @DbField(name = "week_sale_money", length = 38, precision = 2)
    private Double weekSaleMoney;

    @DbField(name = "contract_temp_money", length = 38, precision = 6)
    private Double contractTempMoney;

    @DbField(name = "contract_formal_money", length = 38, precision = 6)
    private Double contractFormalMoney;

    @DbField(name = "week_invoice_money", length = 38, precision = 2)
    private Double weekInvoiceMoney;

    @DbField(name = "week_cash_money", length = 38, precision = 2)
    private Double weekCashMoney;

    @DbField(name = "tenant_id", length = 100, precision = 0)
    private String tenantId;


}